:root
{
    --column-height: 30px;
    --lable-width: 40px;
    --input-width: 15%;
    --all-checkbox-width: 25px;
}

.float-button-box
{
    z-index: 199;
    position: fixed !important;
    right: 100px;
    bottom: 100px;
}

.float-button
{
    width: 64px;
    height: 64px;
    border-radius: 32px;
    border: none;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgba(150, 150, 255, 0.7);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.8);
    transition: 0.3s;
}

.float-button:hover
{
    background-color: rgba(100, 100, 255, 0.7);
    box-shadow: 0 0 4px 0 rgba(100, 100, 255, 0.8);
}

.float-button:active
{
    background-color: rgba(100, 100, 255, 1);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.8);
}

#float-add-button
{
    background-image: url("../icon/add.svg");
    background-position: center;
    background-size: 32px;
    background-repeat: no-repeat;
}

#float-ok-button
{
    background-image: url("../icon/ok.svg");
    background-position: center;
    background-size: 32px;
    background-repeat: no-repeat;
}

.cell-infos
{
    width: 60%;
    margin: 64px auto;
    display: block;
    padding: 0;
    border: 1px solid #000;
    border-radius: 10px;
}

.table-name
{
    padding: 20px 40px;
}

.cell-info
{
    height: var(--column-height);
    margin: 0;
    border-top: 1px solid #000;
    padding: 10px 40px;
    width: calc(100% - 80px);
}

.cell-info .info-del
{
    display: inline-block;
    position: absolute;
    margin: 5px;
    padding: 10px;
    inset-inline-start: calc(80% - 12px - 40px - 30px);
    background-image: url("../icon/close.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    background-color: rgba(255, 50, 50, 0.8);
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 4px;
    transition: 0.2s;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.8);
}

.cell-info .info-del:hover
{
    background-color: rgba(255, 0, 0, 1);
    box-shadow: 0 0 4px 0 rgba(255, 0, 0, 0.8);
}

.cell-info .info-del:active
{
    background-color: rgba(255, 0, 0, 1);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 1);
}

.all-column
{
    inset-inline-start: calc(20% + 12px + 40px + var(--lable-width) + var(--input-width) + 5px);
    z-index: 1;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 27px;
    width: 27px;
    margin: calc(var(--column-height) / 2 - 12px) calc(var(--all-checkbox-width) / 2 - 12px);
}

.all-column-checkmark
{
    inset-inline-start: calc(20% + 12px + 40px + var(--lable-width) + var(--input-width) + 5px);
    z-index: 0;
    position: absolute;
    height: 23px;
    width: 23px;
    margin: calc(var(--column-height) / 2 - 12px) calc(var(--all-checkbox-width) / 2 - 12px);
    border-radius: 20%;
    background-color: #eee;
    border: 1px solid rgba(0, 0, 0, 0.5);
    /*background-color: rgba(222, 222, 222, 0.8);*/
    background-size: 23px;
    background-repeat: no-repeat;
    background-position: center;
}

.all-column:hover ~ .all-column-checkmark
{
    background-color: #ccc;
    /*background-color: rgba(0, 0, 0, 0.2);*/
}

.all-column:checked ~ .all-column-checkmark
{
    background-image: url("../icon/ok.svg");
    background-color: #2196F3;
    /*background-color: rgba(0, 0, 255, 0.8);*/
}

.row-key-label, .column-label, .column-all
{
    position: absolute;
    width: var(--lable-width);
    height: 16px;
    margin: calc(var(--column-height) / 2 - 13px) 0;
}

.column-all
{
    width: auto;
    display: none;
}

.row-key-input, .column-input
{
    position: absolute;
    width: calc(var(--input-width) - 8px);
    height: calc(25px - 6px);
    margin: calc(var(--column-height) / 2 - 12px) 0;
}

.row-key-label
{
    inset-inline-start: calc(20% + 12px + 40px);
}

.row-key-input
{
    inset-inline-start: calc(20% + 12px + 40px + var(--lable-width));
}

.column-label, .column-all
{
    inset-inline-start: calc(20% + 12px + 40px + var(--lable-width) + var(--input-width) + var(--all-checkbox-width) + 10px);
}

.column-input
{
    inset-inline-start: calc(20% + 12px + 40px + var(--lable-width) * 2 + var(--input-width) + var(--all-checkbox-width) + 10px);
}


